#ifndef MANIPULATIONS
#define MANIPULATIONS
#include "elem.h"
#include "status.h"


Status InitList_Sq(SqList *L);
int GetElem_Sq(SqList L, int i, ElemType *e);
Status ListInsert_Sq(SqList *L, int i, ElemType e);
Status ListDelete_Sq(SqList *L, int i, ElemType *e);
int LocatElem_Sq(SqList L, ElemType e, Status (*compare)(ElemType, ElemType));
void MergeList_Sq(SqList La, SqList Lb, SqList *Lc);
Status SubList_Sq(SqList *La, const SqList *Lb);
void DestryList_Sq(SqList *L);
Status AppendList_Sq(SqList *L, ElemType e);

#endif /* ifndef MANIPULATIONS */
